package com.sky.mapper;

import com.sky.annotation.AutoFill;
import com.sky.entity.SetmealDish;
import com.sky.enumeration.OperationType;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface SetmealDishMapper {
    /**
     * 查询套餐id的菜品
     * @param id
     * @return
     */
    List<SetmealDish> list(Long id);

    /**
     * 批量插入菜品
     * @param setmealDishList
     */
    void insertBatch(List<SetmealDish> setmealDishList);

    /**
     * 根据菜单id删除菜品
     * @param
     */
    void deleteBySetmealIds(List<Long> setmealIds);
}
